{layout:main}
<div class="banner-bg" style="background-image:url({$cat.image});">

</div>
<div class="container">
    <div class="path">
            当前位置: 
        <ul><li><a href="{url:./}">首页</a></li>{location:}
        </ul>
    </div>

    {channels:parent=$cat.id}
    <div class="panel game-panel">
        <div class="panel-header">
            {$channel.title} <small>{$channel.description}</small>
            <a href="{url:./category/list?id=:$channel.id}" class="more">查看更多</a>
        </div>
        <div class="panel-body">
            <div class="row">
                {contents:category=$channel.id num=8}
                <div class="col-md-3 item">
                    <div class="thumb">
                        <img  class="lazy" src="/assets/images/thumb.jpg" data-src="{$content.thumb}" alt="{$content.title}">
                    </div>
                    <div class="title">
                            <a href="{url:$content}">{$content.title}</a>
                    </div>
                </div>
                {/contents}
            </div>
        </div>
    </div>
    {/channels}
    
</div>